package com.ruige.service.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class ClientInitService implements ApplicationRunner {
    @Autowired
    private RuigeService ruigeService;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        ruigeService.register();
    }


}
